<?php
class LinesModel extends Model{
	protected $tableName = 'lines';
	
	/**
	 * 
	 * 获取巡检员负责巡检的线路
	 * @param array $map
	 * @param string $field
	 * @param string $limit
	 * @param string $order
	 * @param boolean $is_find_page
	 */
	public function getLineByMap($map=array(),$field = '*', $limit = '', $order = ''){
			return $this->where($map)->field($field)->order($order)->limit($limit)->select();
	}
	
	
	
	
	
}